﻿/*----------------------------------------------------------------
// PiPiBugNet
// Copyright (C) 2009-2010 
//
// 功能描述：Bug信息实体类
//
// 创建人:张沛沛
// 创建日期: 2009.08.14
// 
// 修改标识:
// 修改描述:
//
//----------------------------------------------------------------*/

using System;
using System.Text;

namespace Model
{
    public class BugInfo
    {
        protected int _BugID;
        /// <summary>
        /// BugID，主键，自增列，以此调用Bug
        /// </summary>
        public int BugID
        {
            set { _BugID = value; }
            get { return _BugID; }
        }

        protected int _ModuleNO;
        /// <summary>
        /// 模块编号，以此调用模块
        /// </summary>
        public int ModuleNO
        {
            set { _ModuleNO = value; }
            get { return _ModuleNO; }
        }

        protected string _Title;
        /// <summary>
        /// Bug标题
        /// </summary>
        public string Title
        {
            set { _Title = value; }
            get { return _Title; }
        }

        protected int _Severity;
        /// <summary>
        /// 严重程度,1,2,3,4,5
        /// </summary>
        public int Severity
        {
            set { _Severity = value; }
            get { return _Severity; }
        }

        protected int _Type;
        /// <summary>
        /// Bug类型,代码，界面,需求
        /// </summary>
        public int Type
        {
            set { _Type = value; }
            get { return _Type; }
        }

        protected string _Status;
        /// <summary>
        /// Bug状态,Active，Resolved，Closed
        /// </summary>
        public string Status
        {
            set { _Status = value; }
            get { return _Status; }
        }

        protected int _OsVer;
        /// <summary>
        /// 操作系统版本
        /// </summary>
        public int OsVer
        {
            set { _OsVer = value; }
            get { return _OsVer; }
        }

        protected int _BrowserVer;
        /// <summary>
        /// 浏览器版本
        /// </summary>
        public int BrowserVer
        {
            set { _BrowserVer = value; }
            get { return _BrowserVer; }
        }

        protected string _Depict;
        /// <summary>
        /// Bug描述
        /// </summary>
        public string Depict
        {
            set { _Depict = value; }
            get { return _Depict; }
        }

        protected int _CreatedBy;
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreatedBy
        {
            set { _CreatedBy = value; }
            get { return _CreatedBy; }
        }

        protected DateTime? _CreatedDate;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate
        {
            set { _CreatedDate = value; }
            get { return _CreatedDate; }
        }

        protected int _AssignedTo;
        /// <summary>
        /// 指派给谁
        /// </summary>
        public int AssignedTo
        {
            set { _AssignedTo = value; }
            get { return _AssignedTo; }
        }

        protected DateTime? _AssignedDate;
        /// <summary>
        /// 指派时间
        /// </summary>
        public DateTime? AssignedDate
        {
            set { _AssignedDate = value; }
            get { return _AssignedDate; }
        }

        protected int _ResolvedBy;
        /// <summary>
        /// 解决人
        /// </summary>
        public int ResolvedBy
        {
            set { _ResolvedBy = value; }
            get { return _ResolvedBy; }
        }

        protected DateTime? _ResolvedDate;
        /// <summary>
        /// 解决时间
        /// </summary>
        public DateTime? ResolvedDate
        {
            set { _ResolvedDate = value; }
            get { return _ResolvedDate; }
        }

        protected int _Resolution;
        /// <summary>
        /// 解决方案,Fixed等七种
        /// </summary>
        public int Resolution
        {
            set { _Resolution = value; }
            get { return _Resolution; }
        }

        protected int _ClosedBy;
        /// <summary>
        /// 关闭人
        /// </summary>
        public int ClosedBy
        {
            set { _ClosedBy = value; }
            get { return _ClosedBy; }
        }

        protected DateTime? _ClosedDate;
        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime? ClosedDate
        {
            set { _ClosedDate = value; }
            get { return _ClosedDate; }
        }

        protected int _LastEditedBy;
        /// <summary>
        /// 最后编辑人
        /// </summary>
        public int LastEditedBy
        {
            set { _LastEditedBy = value; }
            get { return _LastEditedBy; }
        }

        protected DateTime? _LastEditedDate;
        /// <summary>
        /// 最后编辑时间
        /// </summary>
        public DateTime? LastEditedDate
        {
            set { _LastEditedDate = value; }
            get { return _LastEditedDate; }
        }
    }
}
